package com.hotel;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 酒店管理系统启动类
 * 
 * @author Hotel Management Team
 * @version 1.0.0
 */
@SpringBootApplication
@MapperScan("com.hotel.mapper")
@EnableTransactionManagement
public class HotelManagementApplication {

    public static void main(String[] args) {
        SpringApplication.run(HotelManagementApplication.class, args);
        System.out.println("");
        System.out.println("===========================================");
        System.out.println("        酒店管理系统启动成功！");
        System.out.println("        访问地址: http://localhost:8080/api");
        System.out.println("        Druid监控: http://localhost:8080/api/druid");
        System.out.println("        API文档: http://localhost:8080/api/doc.html");
        System.out.println("===========================================");
        System.out.println("");
    }

}